﻿// -----------------------------------------------------------------------
// <copyright file="Settings.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace BookManager.Models
{
    #region Imports
    using CommonUtilities.Util;
    #endregion Imports

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class Settings : BaseViewModel
    {
        public static readonly Settings InitialSettings = new Settings
            {
                BookListItemWidth = 290,
                BookShelfItemWidth = 96,
                NoResultText = "No books to display.."
            };

        #region Properties
        private double? bookListItemWidth;
        public double? BookListItemWidth
        {
            get { return bookListItemWidth; }
            set { bookListItemWidth = value; RaisePropertyChanged("BookListItemWidth"); }
        }

        private double? bookShelfItemWidth;
        public double? BookShelfItemWidth
        {
            get { return bookShelfItemWidth; }
            set { bookShelfItemWidth = value; RaisePropertyChanged("BookShelfItemWidth"); }
        }

        private string noResultText;
        public string NoResultText
        {
            get { return noResultText; }
            set { noResultText = value; RaisePropertyChanged("NoResultText"); }
        }
        #endregion Properties
    }
}
